/**
 * 配置编译环境和线上环境之间的切换
 *
 * baseUrl: 域名地址
 * routerMode: 路由模式
 * baseImgPath: 图片存放地址
 *
 */
let baseUrl = '/api';
let routerMode = 'history';
let baseImgPath = "https://wxywechat.szsmk.com/file/";
let uploadPath = baseUrl;

if (process.env.NODE_ENV == 'development') {
  baseImgPath = 'https://wxywechat.szsmk.com/file/';
} else {
  baseImgPath = 'https://wxywechat.szsmk.com/file/';
}

export {
  baseUrl,
  routerMode,
  baseImgPath,
  uploadPath
}
